IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'spTusers_Update')
	BEGIN
		PRINT 'Dropping Procedure spTusers_Update'
		DROP  Procedure  spTusers_Update
	END

GO

PRINT 'Creating Procedure spTusers_Update'
GO
Create Procedure dbo.spTusers_Update
	( 	  
		@TUSER char(), 
		@PASSWORD char() = null, 
		@ACCESS text = null, 
		@NAME char() = null
	)
AS
  /* 
    ------------------------------------------------------------------------------
    - Change History
    - --------------
    - Date          Description
    ------------------------------------------------------------------------------
    - 8/23/2007    Initial version Updated
    ------------------------------------------------------------------------------
  */

	-- Declare the required variables

	-- Update the required new record
	UPDATE Tusers
	SET
		PASSWORD = @PASSWORD, 
		ACCESS = @ACCESS, 
		NAME = @NAME		
	WHERE TUSER = @TUSER

	-- Return to calling method
	RETURN
	
GO
